{dede:config.pagesize value='30'/}
<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<meta name="viewport" content="width=device-width,initial-scale=1,shrink-to-fit=no">
		<title>自定义宏标记</title>
		<link rel="stylesheet" href="/static/web/css/font-awesome.min.css">
		<link rel="stylesheet" href="/static/web/css/bootstrap.min.css">
		<link rel="stylesheet" href="/static/web/css/admin.css">
	</head>
	<body>
		<div class="container-fluid">
			<ol class="breadcrumb">
				<li class="breadcrumb-item"><a href="index_body.php">后台面板</a></li>
				<li class="breadcrumb-item active">自定义宏标记</li>
			</ol>
			<div class="card shadow-sm mb-3">
				<div class="card-body">
					<a href="mytag_add.php" class="btn btn-success btn-sm">添加自定义宏标记</a>
					<a href="mytag_tag_guide.php" class="btn btn-success btn-sm">自定义宏标记向导</a>
				</div>
			</div>
			<div class="card shadow-sm">
				<div class="card-header">自定义宏标记</div>
				<div class="card-body">
					<div class="table-responsive">
						<table class="table table-borderless table-hover">
							<thead>
								<tr>
									<td scope="col">id</td>
									<td scope="col">标记名称</td>
									<td scope="col">所属栏目</td>
									<td scope="col">时间限制</td>
									<td scope="col">结束时间</td>
									<td scope="col">操作</td>
								</tr>
							</thead>
							<tbody>
								{dede:datalist}
								<tr>
									<td>{dede:field.aid/}</td>
									<td>{dede:field.tagname/}</td>
									<td>{dede:field.typename function='TestType(@me)'/}</td>
									<td>{dede:field.timeset function='TimeSetValue(@me)'/}</td>
									<td>{dede:field.endtime function='GetDateMk(@me)'/}</td>
									<td>
										<a href="mytag_edit.php?aid={dede:field.aid/}&dopost=edit" class="btn btn-light btn-sm"><i class="fa fa-pencil-square" title="修改"></i></a>
										<a href="mytag_edit.php?aid={dede:field.aid/}&dopost=getjs" class="btn btn-light btn-sm"><i class="fa fa-code" title="调用"></i></a>
										<a href="mytag_edit.php?aid={dede:field.aid/}&dopost=delete" class="btn btn-danger btn-sm"><i class="fa fa-trash" title="删除"></i></a>
									</td>
								</tr>
								{/dede:datalist}
							</tbody>
						</table>
					</div>
					{dede:pagelist listsize='6'/}
				</div>
			</div>
		</div>
	</body>
</html>